package com.qtcm.nas.jhx.yuangong.service.impl;

import com.qtcm.nas.jhx.yuangong.dao.IYuangongdao;
import com.qtcm.nas.jhx.yuangong.service.IYuangongservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("yuangongservice")
public class Yuangongservice implements IYuangongservice {

    @Autowired
    @Qualifier("yuangongdao")
    private IYuangongdao yuangongdao;

    @Override
    public int count() {
        return yuangongdao.count();
    }
}
